home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / treevwx / tvx3demo.exe / data.1 / pvibranch.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-18  |  1.8 KB  |  62 lines

  1. #if !defined(AFX_PVIBRANCH_H__162C4C2F_36E1_11D2_9B3B_00400561D975__INCLUDED_)
  2. #define AFX_PVIBRANCH_H__162C4C2F_36E1_11D2_9B3B_00400561D975__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12.  
  13. // Dispatch interfaces referenced by this interface
  14. class CPicture;
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CPVIBranch wrapper class
  18.  
  19. class CPVIBranch : public COleDispatchDriver
  20. {
  21. public:
  22.     CPVIBranch() {}        // Calls COleDispatchDriver default constructor
  23.     CPVIBranch(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  24.     CPVIBranch(const CPVIBranch& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  25.  
  26. // Attributes
  27. public:
  28.     CString GetText();
  29.     void SetText(LPCTSTR);
  30.     long GetData();
  31.     void SetData(long);
  32.     short GetLevel();
  33.     void SetLevel(short);
  34.     BOOL GetIsOpen();
  35.     void SetIsOpen(BOOL);
  36.     long GetStandardItemPicture();
  37.     void SetStandardItemPicture(long);
  38.     CPicture GetCustomItemPicture();
  39.     void SetCustomItemPicture(LPDISPATCH);
  40.  
  41. // Operations
  42. public:
  43.     void Clear();
  44.     CPVIBranch Add(long relationship, short relative, LPCTSTR Text);
  45.     CPVIBranch Get(long relationship, short relative);
  46.     void Remove();
  47.     void Lock();
  48.     void Unlock();
  49.     BOOL IsLocked();
  50.     BOOL IsValid();
  51.     BOOL IsMainBranch();
  52.     void Open(long cmd);
  53.     void Close(long cmd);
  54.     void Select(long cmd);
  55.     long GetHandle();
  56. };
  57.  
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60.  
  61. #endif // !defined(AFX_PVIBRANCH_H__162C4C2F_36E1_11D2_9B3B_00400561D975__INCLUDED_)
  62.